package net.hsxin.test.activiti.bmpn;

import javax.annotation.Resource;

import org.activiti.engine.FormService;
import org.activiti.engine.HistoryService;
import org.activiti.engine.IdentityService;
import org.activiti.engine.ManagementService;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;

public class BaseDelegate
{
	@Resource
	private RuntimeService runtimeService;

	@Resource
	private TaskService taskService;

	@Resource
	private RepositoryService repositoryService;

	@Resource
	private ManagementService managementService;
	
	@Resource
	private IdentityService identityService;

	@Resource
	private HistoryService historyService;

	@Resource
	private FormService formService;

	public RuntimeService getRuntimeService()
	{
		return runtimeService;
	}

	public void setRuntimeService(RuntimeService runtimeService)
	{
		this.runtimeService = runtimeService;
	}

	public TaskService getTaskService()
	{
		return taskService;
	}

	public void setTaskService(TaskService taskService)
	{
		this.taskService = taskService;
	}

	public RepositoryService getRepositoryService()
	{
		return repositoryService;
	}

	public void setRepositoryService(RepositoryService repositoryService)
	{
		this.repositoryService = repositoryService;
	}

	public ManagementService getManagementService()
	{
		return managementService;
	}

	public void setManagementService(ManagementService managementService)
	{
		this.managementService = managementService;
	}

	public IdentityService getIdentityService()
	{
		return identityService;
	}

	public void setIdentityService(IdentityService identityService)
	{
		this.identityService = identityService;
	}

	public HistoryService getHistoryService()
	{
		return historyService;
	}

	public void setHistoryService(HistoryService historyService)
	{
		this.historyService = historyService;
	}

	public FormService getFormService()
	{
		return formService;
	}

	public void setFormService(FormService formService)
	{
		this.formService = formService;
	}

}
